package com.bajiao.vo.store;

import com.alibaba.fastjson.annotation.JSONField;
import com.bajiao.entity.classify.Classify;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

@Data
@ApiModel("StoreDetailsResponse")
public class StoreDetailsResponse extends StoreResponse {

    @ApiModelProperty(value = "营业时间")
    private String openHours;

    @ApiModelProperty(value = "店铺联系电话")
    private String mobile;

    @ApiModelProperty(value = "经度")
    private String longitude;

    @ApiModelProperty(value = "纬度")
    private String latitude;

    @ApiModelProperty(value = "简介")
    private String intro;

    @ApiModelProperty(value = "店铺照片")
    private String sliderImage;

    @ApiModelProperty(value = "店铺照片")
    private List<String> sliderImageList;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "签约时间")
    private Date createTime;

    @ApiModelProperty(value = "当天是否预订 false-否 true-是")
    private Boolean isReserve = Boolean.FALSE;

    @ApiModelProperty(value = "商品分类")
    private List<Classify> classifyList;

    @ApiModelProperty(value = "优惠劵数量")
    private Integer count;

}
